package com.pignest.hotel.definition;

/** 入住类型 */
public enum LivingType {

	NORMAL("散客", null)
	, TEAM("团队", "i03.gif")
//	, HOURLY("时租")
//	, FREE("免费", "i04.gif")
	, SELF_USE("自用", "i05.gif")
	, SELF_LIVING("自助","i05.gif")
	;
	
	private String displayName;
	private String icon;
	LivingType(String displayName, String image) {
		this.displayName = displayName;
		this.icon = image;
	}
	
	public String getName() {
		return displayName;
	}
	
	public String getImage() {
		return icon;
	}
	
	/** 是否需要付费 */
	public boolean isFree() {
		return this == SELF_USE;//this == FREE || 
	}
}
